<?php
class RestrictedBaseController extends BaseController {
	
	protected $layout = 'layouts.master';
	
	protected $paginationLimit = 15; 
	
	public function __construct() {
		$loggedUser = Auth::user();
		
		View::share('userPrivileges', Auth::user()->privileges()->lists('key'));
		View::share('loggedUser', $loggedUser->name . ' ' . $loggedUser->surname);
	}
	
}